[INFO] fetching crate ra_ap_parser 0.0.187...
[INFO] checking ra_ap_parser-0.0.187 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate ra_ap_parser 0.0.187 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate ra_ap_parser 0.0.187 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ra_ap_parser 0.0.187
[INFO] finished tweaking crates.io crate ra_ap_parser 0.0.187
[INFO] tweaked toml for crates.io crate ra_ap_parser 0.0.187 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ra-ap-rustc_index v0.20.0
[INFO] [stderr]   Downloaded ra-ap-rustc_lexer v0.20.0
[INFO] [stderr]   Downloaded ra-ap-rustc_abi v0.20.0
[INFO] [stderr]   Downloaded ra_ap_limit v0.0.187
[INFO] [stderr]   Downloaded ra_ap_rustc-dependencies v0.0.187
[INFO] [stderr]   Downloaded unicode-properties v0.1.1
[INFO] [stderr]   Downloaded ra-ap-rustc_index_macros v0.20.0
[INFO] [stderr]   Downloaded ra-ap-rustc_parse_format v0.20.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7b27bf9eb4bdec2c74fe267c1bd657ce1f7ab6d5f7744ea235337ce7c2a579d9
[INFO] running `Command { std: "docker" "start" "-a" "7b27bf9eb4bdec2c74fe267c1bd657ce1f7ab6d5f7744ea235337ce7c2a579d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7b27bf9eb4bdec2c74fe267c1bd657ce1f7ab6d5f7744ea235337ce7c2a579d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b27bf9eb4bdec2c74fe267c1bd657ce1f7ab6d5f7744ea235337ce7c2a579d9", kill_on_drop: false }`
[INFO] [stdout] 7b27bf9eb4bdec2c74fe267c1bd657ce1f7ab6d5f7744ea235337ce7c2a579d9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 687c49031a8020e580ebe5af57c897c97896df914460b227e2a64c039a59c080
[INFO] running `Command { std: "docker" "start" "-a" "687c49031a8020e580ebe5af57c897c97896df914460b227e2a64c039a59c080", kill_on_drop: false }`
[INFO] [stderr]     Checking unicode-properties v0.1.1
[INFO] [stderr]     Checking unicode-xid v0.2.4
[INFO] [stderr]     Checking ra_ap_limit v0.0.187
[INFO] [stderr]     Checking drop_bomb v0.1.5
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]     Checking ra-ap-rustc_lexer v0.20.0
[INFO] [stderr]    Compiling ra-ap-rustc_index_macros v0.20.0
[INFO] [stderr]     Checking ra-ap-rustc_index v0.20.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking ra-ap-rustc_parse_format v0.20.0
[INFO] [stderr]     Checking ra-ap-rustc_abi v0.20.0
[INFO] [stderr]     Checking ra_ap_rustc-dependencies v0.0.187
[INFO] [stderr]     Checking ra_ap_parser v0.0.187 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `expect_test`
[INFO] [stdout]  --> src/tests/top_entries.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use expect_test::expect;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `expect_test`
[INFO] [stdout]   --> src/tests.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use expect_test::expect_file;
[INFO] [stdout]    |     ^^^^^^^^^^^ use of undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_inline_tests.rs:59:26
[INFO] [stdout]    |
[INFO] [stdout] 59 |     for comment_block in sourcegen::CommentBlock::extract_untagged(s) {
[INFO] [stdout]    |                          ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:27:22
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:51:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:71:22
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:81:22
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_inline_tests.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let grammar_dir = sourcegen::project_root().join(Path::new("crates/parser/src/grammar"));
[INFO] [stdout]    |                       ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_inline_tests.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let tests_dir = sourcegen::project_root().join(into);
[INFO] [stdout]    |                         ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_inline_tests.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             sourcegen::ensure_file_contents(&path, &test.text);
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_inline_tests.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |     for entry in sourcegen::list_rust_files(dir) {
[INFO] [stdout]    |                  ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect_test`
[INFO] [stdout]    --> src/tests/top_entries.rs:309:53
[INFO] [stdout]     |
[INFO] [stdout] 309 | fn check(entry: TopEntryPoint, input: &str, expect: expect_test::Expect) {
[INFO] [stdout]     |                                                     ^^^^^^^^^^^ use of undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ra_ap_parser` (lib test) due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "687c49031a8020e580ebe5af57c897c97896df914460b227e2a64c039a59c080", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "687c49031a8020e580ebe5af57c897c97896df914460b227e2a64c039a59c080", kill_on_drop: false }`
[INFO] [stdout] 687c49031a8020e580ebe5af57c897c97896df914460b227e2a64c039a59c080
[INFO] checking ra_ap_parser-0.0.187 against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] extracting crate ra_ap_parser 0.0.187 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate ra_ap_parser 0.0.187 on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ra_ap_parser 0.0.187
[INFO] finished tweaking crates.io crate ra_ap_parser 0.0.187
[INFO] tweaked toml for crates.io crate ra_ap_parser 0.0.187 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 55a14bd368180970e117760487606daefc8352d873ca8c4a4a05d4a56bef5874
[INFO] running `Command { std: "docker" "start" "-a" "55a14bd368180970e117760487606daefc8352d873ca8c4a4a05d4a56bef5874", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "55a14bd368180970e117760487606daefc8352d873ca8c4a4a05d4a56bef5874", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55a14bd368180970e117760487606daefc8352d873ca8c4a4a05d4a56bef5874", kill_on_drop: false }`
[INFO] [stdout] 55a14bd368180970e117760487606daefc8352d873ca8c4a4a05d4a56bef5874
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 297ec91750aadfd313b57e39ee32bf4459ad7f71daf3e8f1ff12a64db3333b8e
[INFO] running `Command { std: "docker" "start" "-a" "297ec91750aadfd313b57e39ee32bf4459ad7f71daf3e8f1ff12a64db3333b8e", kill_on_drop: false }`
[INFO] [stderr]     Checking unicode-properties v0.1.1
[INFO] [stderr]     Checking unicode-xid v0.2.4
[INFO] [stderr]     Checking ra_ap_limit v0.0.187
[INFO] [stderr]     Checking drop_bomb v0.1.5
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]     Checking ra-ap-rustc_lexer v0.20.0
[INFO] [stderr]    Compiling ra-ap-rustc_index_macros v0.20.0
[INFO] [stderr]     Checking ra-ap-rustc_index v0.20.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking ra-ap-rustc_parse_format v0.20.0
[INFO] [stderr]     Checking ra-ap-rustc_abi v0.20.0
[INFO] [stderr]     Checking ra_ap_rustc-dependencies v0.0.187
[INFO] [stderr]     Checking ra_ap_parser v0.0.187 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `expect_test`
[INFO] [stdout]  --> src/tests/top_entries.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use expect_test::expect;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `expect_test`
[INFO] [stdout]   --> src/tests.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use expect_test::expect_file;
[INFO] [stdout]    |     ^^^^^^^^^^^ use of undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/lexed_str.rs:42:50
[INFO] [stdout]    |
[INFO] [stdout] 42 |         for token in rustc_lexer::tokenize(&text[conv.offset..]) {
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/lexed_str.rs:43:36
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let token_text = &text[conv.offset..][..token.len as usize];
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/lexed_str.rs:87:25
[INFO] [stdout]    |
[INFO] [stdout] 87 |         self.range_text(i..i + 1)
[INFO] [stdout]    |                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/lexed_str.rs:94:20
[INFO] [stdout]    |
[INFO] [stdout] 94 |         &self.text[lo..hi]
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lexed_str.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |         lo..hi
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/lexed_str.rs:261:47
[INFO] [stdout]     |
[INFO] [stdout] 261 |                     let text = &self.res.text[self.offset + 1..][..len - 1];
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/lexed_str.rs:274:47
[INFO] [stdout]     |
[INFO] [stdout] 274 |                     let text = &self.res.text[self.offset + 2..][..len - 2];
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/lexed_str.rs:288:47
[INFO] [stdout]     |
[INFO] [stdout] 288 |                     let text = &self.res.text[self.offset + 1..][..len - 1];
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/lexed_str.rs:299:47
[INFO] [stdout]     |
[INFO] [stdout] 299 |                     let text = &self.res.text[self.offset + 2..][..len - 2];
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/lexed_str.rs:310:47
[INFO] [stdout]     |
[INFO] [stdout] 310 |                     let text = &self.res.text[self.offset + 2..][..len - 2];
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event.rs:95:14
[INFO] [stdout]    |
[INFO] [stdout] 95 |     for i in 0..events.len() {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/shortcuts.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |         for i in 0..self.len() {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/shortcuts.rs:147:14
[INFO] [stdout]     |
[INFO] [stdout] 147 |             (self.pos..self.lexed.len()).take_while(|&it| self.lexed.kind(it).is_trivia()).count();
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/shortcuts.rs:148:31
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let leading_trivias = self.pos..self.pos + n_trivias;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/shortcuts.rs:177:18
[INFO] [stdout]     |
[INFO] [stdout] 177 |         for _ in 0..n {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/shortcuts.rs:185:43
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let text = &self.lexed.range_text(self.pos..self.pos + n_tokens);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/shortcuts.rs:191:43
[INFO] [stdout]     |
[INFO] [stdout] 191 |         let text = &self.lexed.range_text(self.pos..self.pos + 1);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_inline_tests.rs:59:26
[INFO] [stdout]    |
[INFO] [stdout] 59 |     for comment_block in sourcegen::CommentBlock::extract_untagged(s) {
[INFO] [stdout]    |                          ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:27:22
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:51:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:71:22
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stdx`
[INFO] [stdout]   --> src/tests.rs:81:22
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let _guard = stdx::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `stdx`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let _guard = std::panic_context::enter(format!("{:?}", case.rs));
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/lexed_str.rs:42:50
[INFO] [stdout]    |
[INFO] [stdout] 42 |         for token in rustc_lexer::tokenize(&text[conv.offset..]) {
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/lexed_str.rs:43:36
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let token_text = &text[conv.offset..][..token.len as usize];
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/lexed_str.rs:87:25
[INFO] [stdout]    |
[INFO] [stdout] 87 |         self.range_text(i..i + 1)
[INFO] [stdout]    |                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/lexed_str.rs:94:20
[INFO] [stdout]    |
[INFO] [stdout] 94 |         &self.text[lo..hi]
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lexed_str.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |         lo..hi
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/lexed_str.rs:261:47
[INFO] [stdout]     |
[INFO] [stdout] 261 |                     let text = &self.res.text[self.offset + 1..][..len - 1];
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/lexed_str.rs:274:47
[INFO] [stdout]     |
[INFO] [stdout] 274 |                     let text = &self.res.text[self.offset + 2..][..len - 2];
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/lexed_str.rs:288:47
[INFO] [stdout]     |
[INFO] [stdout] 288 |                     let text = &self.res.text[self.offset + 1..][..len - 1];
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/lexed_str.rs:299:47
[INFO] [stdout]     |
[INFO] [stdout] 299 |                     let text = &self.res.text[self.offset + 2..][..len - 2];
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/lexed_str.rs:310:47
[INFO] [stdout]     |
[INFO] [stdout] 310 |                     let text = &self.res.text[self.offset + 2..][..len - 2];
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event.rs:95:14
[INFO] [stdout]    |
[INFO] [stdout] 95 |     for i in 0..events.len() {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/shortcuts.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |         for i in 0..self.len() {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/shortcuts.rs:147:14
[INFO] [stdout]     |
[INFO] [stdout] 147 |             (self.pos..self.lexed.len()).take_while(|&it| self.lexed.kind(it).is_trivia()).count();
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/shortcuts.rs:148:31
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let leading_trivias = self.pos..self.pos + n_trivias;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/shortcuts.rs:177:18
[INFO] [stdout]     |
[INFO] [stdout] 177 |         for _ in 0..n {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/shortcuts.rs:185:43
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let text = &self.lexed.range_text(self.pos..self.pos + n_tokens);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/shortcuts.rs:191:43
[INFO] [stdout]     |
[INFO] [stdout] 191 |         let text = &self.lexed.range_text(self.pos..self.pos + 1);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/tests/sourcegen_inline_tests.rs:68:51
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let text: String = comment_block.contents[1..]
[INFO] [stdout]    |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tests/sourcegen_inline_tests.rs:114:23
[INFO] [stdout]     |
[INFO] [stdout] 114 |             file_name[5..file_name.len() - 3].to_string()
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tests.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |     for i in 0..lexed.len() {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_inline_tests.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let grammar_dir = sourcegen::project_root().join(Path::new("crates/parser/src/grammar"));
[INFO] [stdout]    |                       ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_inline_tests.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let tests_dir = sourcegen::project_root().join(into);
[INFO] [stdout]    |                         ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_inline_tests.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             sourcegen::ensure_file_contents(&path, &test.text);
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_inline_tests.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |     for entry in sourcegen::list_rust_files(dir) {
[INFO] [stdout]    |                  ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: explicit usage of `Range` type in public function
[INFO] [stdout]   --> src/lexed_str.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub fn range_text(&self, r: ops::Range<usize>) -> &str {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D explicit-range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ra_ap_parser` (lib) due to 2 previous errors; 17 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect_test`
[INFO] [stdout]    --> src/tests/top_entries.rs:309:53
[INFO] [stdout]     |
[INFO] [stdout] 309 | fn check(entry: TopEntryPoint, input: &str, expect: expect_test::Expect) {
[INFO] [stdout]     |                                                     ^^^^^^^^^^^ use of undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ra_ap_parser` (lib test) due to 15 previous errors; 20 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "297ec91750aadfd313b57e39ee32bf4459ad7f71daf3e8f1ff12a64db3333b8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "297ec91750aadfd313b57e39ee32bf4459ad7f71daf3e8f1ff12a64db3333b8e", kill_on_drop: false }`
[INFO] [stdout] 297ec91750aadfd313b57e39ee32bf4459ad7f71daf3e8f1ff12a64db3333b8e
